-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
fs: fix rmSync to handle non-ASCII characters #61108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
0b11867 to
f2996d1
Compare
f2996d1 to
475580e
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #61108 +/- ##
=======================================
Coverage 88.53% 88.53%
=======================================
Files 703 703
Lines 208546 208545 -1
Branches 40217 40221 +4
=======================================
+ Hits 184634 184642 +8
+ Misses 15926 15913 -13
- Partials 7986 7990 +4
🚀 New features to boost your workflow:
|
Update fs.rmSync to properly handle file paths that include non-ASCII characters. This change prevents crashes and errors when attempting to delete files with international or special characters in their names. Add a test in test/parallel to ensure that files with non-ASCII characters can be deleted without issues. This covers cases that previously caused unexpected behavior or crashes on certain file systems. Fixes: nodejs#56049
475580e to
daa7753
Compare
jazelly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
@jazelly I can’t access Jenkins logs. Can you paste the failing test name/excerpt from |
|
hmm seems like I lost access to jenkins |
|
@joyeecheung In the previous run, |
This is a fresh version of PR #56934
Update fs.rmSync to properly handle file paths that include non-ASCII characters. This change prevents crashes and errors when attempting to delete files with international or special characters in their names.
Add a test in test/parallel to ensure that files with non-ASCII characters can be deleted without issues. This covers cases that previously caused unexpected behavior or crashes on certain file systems.
Fixes: #56049
If this gets merged, I will be working on the additional errors part.
@joyeecheung Please review this. Thank you!